home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / DevTools / eText5 / Source / HotLinks.subproj / HotLinks.h next >
Encoding:
Text File  |  1994-11-13  |  1.4 KB  |  41 lines

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //    FILENAME:    HotLinks.h 
  3. //    SUMMARY:    Interface for a link-caching Accessory
  4. //    SUPERCLASS:    Object
  5. //    INTERFACE:    HotLinks.nib
  6. //    PROTOCOLS:    <Tool>
  7. //    AUTHOR:        Rohit Khare
  8. //    COPYRIGHT:    (c) 1994 California Institure of Technology, eText Project
  9. ///////////////////////////////////////////////////////////////////////////////
  10. //    DESCRIPTION: The HotLinks panel is an example of a loadable
  11. // Accessory, an independent entity within the eText runtime
  12. // environment. The HotLinks panel allows the user to keep a
  13. // quick-reference list of links handy. The object archives itself
  14. // entire in ~/Library/eText/HotLinks (creates the dir if
  15. // nonexistent). We're being lazy, so we'll just write ourselves
  16. // out everytime we're modified -- ideally there's an <appNotification>
  17. // protocol similar to <docNotification>, and we should only save
  18. // this data out on application-quit.
  19. ///////////////////////////////////////////////////////////////////////////////
  20. //    HISTORY
  21. //    11/13/94:    Modified to use a storage for sorted hotlink lists.
  22. //    05/06/94:    Created. First actual implementation.
  23. ///////////////////////////////////////////////////////////////////////////////
  24.  
  25. #import "../eTextKernel.h"
  26.  
  27. @interface HotLinks:Object <Tool>
  28. {
  29.     id    browser;
  30.     id    field;
  31.     id    panel;
  32.     id    well;
  33.     Storage *anchors;
  34. }
  35.  
  36. - accept:sender;
  37. - rename:sender;
  38. - select:sender;
  39.  
  40. @end
  41.